﻿using System;

namespace Wedonek.RpcStore.Service.Model
{
        /// <summary>
        /// 服务节点状态
        /// </summary>
        public class ServerRunState
        {
                /// <summary>
                /// 服务节点Id
                /// </summary>
                public long ServerId
                {
                        get;
                        set;
                }
                /// <summary>
                /// 进程编号
                /// </summary>
                public int Pid
                {
                        get;
                        set;
                }
                /// <summary>
                /// 进程名
                /// </summary>
                public string PName { get; set; }
                /// <summary>
                /// 链接数
                /// </summary>
                public int ConNum { get; set; }
               /// <summary>
               /// 工作内存
               /// </summary>
                public long WorkMemory { get; set; }
                /// <summary>
                /// CPU占用时间
                /// </summary>
                public int CpuRunTime { get; set; }
                /// <summary>
                /// 数据最后同步时间
                /// </summary>
                public DateTime SyncTime { get; set; }
                /// <summary>
                /// 进程启动时间
                /// </summary>
                public DateTime StartTime { get; set; }
        }
}
